package com.liyunhan.GreedyAlgorithm;


/**
 * @Description: 贪心算法测试类
 * @Author: Liyunhan
 * @Date: 2021/12/8 15:50
 */
public class MyTest {
    public static void main(String[] args) {
//        //MinNum
//        MinNum test1 = new MinNum(19990621, 4);
//        System.out.println(test1.mainAlgorithm());
//        MinNum test2 = new MinNum(5476579228L, 4);
//        System.out.println(test2.mainAlgorithm());
//        MinNum test3 = new MinNum(12345678901211L, 6);
//        System.out.println(test3.mainAlgorithm());
//        OilingCar
        OilingCar Test1 = new OilingCar(6, 6, new double[]{3, 2, 5, 3, 1, 4, 3});
        System.out.println(Test1.mainAlgorithm());
        OilingCar Test2 = new OilingCar(8, 7, new double[]{1, 2, 7, 3, 5, 1, 6, 6});
        System.out.println(Test2.mainAlgorithm());

    }
}
